package asava.trees;

/**
 * @author Tim Richter
 */
public class ForIn extends Tree {
    public Tree var;
    public Tree expr;
    public Tree body;

    public ForIn(final Tree var,
                 final Tree expr,
                 final Tree body) {
        this.var = var;
        this.expr = expr;
        this.body = body;
    }

    @Override
    public int kind() {
        return TreeKind.FORIN;
    }

    @Override
    public void accept(final TreeVisitor visitor) {
        visitor.visit(this);
    }
}
